<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>nih: linalg/bbox.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">nih
   &#160;<span id="projectnumber">0.5</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('bbox_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">linalg/bbox.h File Reference</div>  </div>
</div>
<div class="contents">

<p>Defines an axis-aligned bounding box class.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;nih/basic/numbers.h&gt;</code><br/>
<code>#include &lt;<a class="el" href="vector_8h_source.html">nih/linalg/vector.h</a>&gt;</code><br/>
<code>#include &lt;limits&gt;</code><br/>
<code>#include &lt;algorithm&gt;</code><br/>
<code>#include &lt;nih/linalg/bbox_inline.h&gt;</code><br/>
</div>
<p><a href="bbox_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bbox.html">nih::Bbox&lt; Vector_t &gt;</a></td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5ebd3a6c3e9a5a8ac883e5a87bf821e6"></a><!-- doxytag: member="bbox.h::Bbox2f" ref="ga5ebd3a6c3e9a5a8ac883e5a87bf821e6" args="" -->
typedef Bbox&lt; Vector2f &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>nih::Bbox2f</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4454301371a3ef18876d4c33f9b15418"></a><!-- doxytag: member="bbox.h::Bbox3f" ref="ga4454301371a3ef18876d4c33f9b15418" args="" -->
typedef Bbox&lt; Vector3f &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>nih::Bbox3f</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga276df7c674fca6914e123dcf4df166ed"></a><!-- doxytag: member="bbox.h::Bbox4f" ref="ga276df7c674fca6914e123dcf4df166ed" args="" -->
typedef Bbox&lt; Vector4f &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>nih::Bbox4f</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga70a3a6e123309089469f924018908bae"></a><!-- doxytag: member="bbox.h::Bbox2d" ref="ga70a3a6e123309089469f924018908bae" args="" -->
typedef Bbox&lt; Vector2d &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>nih::Bbox2d</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga073517d49cea29e74f704677e268f215"></a><!-- doxytag: member="bbox.h::Bbox3d" ref="ga073517d49cea29e74f704677e268f215" args="" -->
typedef Bbox&lt; Vector3d &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>nih::Bbox3d</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6079eb49bd961dbb56b17e1e657eb2dd"></a><!-- doxytag: member="bbox.h::Bbox4d" ref="ga6079eb49bd961dbb56b17e1e657eb2dd" args="" -->
typedef Bbox&lt; Vector4d &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>nih::Bbox4d</b></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NIH_HOST_DEVICE float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__bboxes.html#gaceb0562c9b45c828b66c12f65bd85d8b">nih::area</a> (const Bbox3f &amp;bbox)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename Vector_t &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">NIH_HOST_DEVICE bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__bboxes.html#gaddb50572c7ac110eddcc46bb6cf6fcc5">nih::contains</a> (const Bbox&lt; Vector_t &gt; &amp;bbox, const Vector_t &amp;p)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename Vector_t &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">FORCE_INLINE NIH_HOST_DEVICE float&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__bboxes.html#gae81285029f77d03eb828a15fb90ffede">nih::sq_distance</a> (const Bbox&lt; Vector_t &gt; &amp;bbox, const Vector_t &amp;p)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename Vector_t &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">FORCE_INLINE NIH_HOST_DEVICE size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__bboxes.html#ga38d296764ec08b5bb7cb072460967e00">nih::largest_axis</a> (const Bbox&lt; Vector_t &gt; &amp;bbox)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Defines an axis-aligned bounding box class. </p>
</div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="bbox_8h.html">bbox.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Thu Dec 15 2011 11:56:21 for nih by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
